Package com.netscape.cmscore.dbs
Class RepositoryRecord
java.lang.Object
com.netscape.cmscore.dbs.DBRecord
com.netscape.cmscore.dbs.RepositoryRecord
- All Implemented Interfaces:
IAttrSet
,IDBObj
,Serializable
A class represents a repository record.
It maintains unique serial number within repository.
- Author:
- thomask
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deletes an attribute.Retrieves attribute from this record.Retrieves a list of attribute names.Returns a list of serializable attribute names.Retrieves serial number.void
Sets attribute.
-
Field Details
-
ATTR_SERIALNO
- See Also:
-
ATTR_PUB_STATUS
- See Also:
-
ATTR_DESCRIPTION
- See Also:
-
mNames
-
-
Constructor Details
-
RepositoryRecord
public RepositoryRecord()Constructs a repository record.
-
-
Method Details
-
set
Sets attribute.- Specified by:
set
in interfaceIAttrSet
- Overrides:
set
in classDBRecord
- Parameters:
name
- the name of the attributeobj
- the attribute object.- Throws:
EBaseException
- on attribute handling errors.
-
get
Retrieves attribute from this record.- Specified by:
get
in interfaceIAttrSet
- Overrides:
get
in classDBRecord
- Parameters:
name
- the name of the attribute to return.- Throws:
EBaseException
- on attribute handling errors.
-
delete
Deletes an attribute.- Specified by:
delete
in interfaceIAttrSet
- Overrides:
delete
in classDBRecord
- Parameters:
name
- the name of the attribute to delete.- Throws:
EBaseException
- on attribute handling errors.
-
getElements
Retrieves a list of attribute names.- Specified by:
getElements
in interfaceIAttrSet
- Overrides:
getElements
in classDBRecord
- Returns:
- an enumeration of the attribute names.
-
getSerializableAttrNames
Description copied from interface:IDBObj
Returns a list of serializable attribute names. This method should return the attribute name even if there is no attribute value for the attribute.- Specified by:
getSerializableAttrNames
in interfaceIDBObj
- Overrides:
getSerializableAttrNames
in classDBRecord
- Returns:
- a list of serializable attribute names
-
getSerialNumber
Retrieves serial number.- Returns:
- serial number
-
getPublishingStatus
-
getDescription
-